<?
function renderGoogleAnalytics(){
return "
  <!-- BEGIN - Google Analytics Script -->
  <script type='text/javascript'>
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-39155826-1']);
    _gaq.push(['_setDomainName', 'manifiestate.net']);
    _gaq.push(['_setAllowLinker', true]);
    _gaq.push(['_trackPageview']);
  
    (function() {
      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
  </script>
  <!-- END - Google Analytics Script -->";
}


function renderUserVoice(){
return "
   <!-- UserVoice JavaScript SDK (only needed once on a page) -->
    <script>(function(){var uv=document.createElement('script');uv.type='text/javascript';uv.async=true;uv.src='//widget.uservoice.com/99B4Tm0yY1YDhkgjykSJg.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(uv,s)})()</script>

    <!-- A tab to launch the Classic Widget -->
    <script>
    UserVoice = window.UserVoice || [];
    UserVoice.push(['showTab', 'classic_widget', {
      mode: 'full',
      primary_color: '#cc6d00',
      link_color: '#007dbf',
      default_mode: 'feedback',
      forum_id: 197658,
      tab_label: 'Sugerencias',
      tab_color: '#cc6d00',
      tab_position: 'bottom-left',
      tab_inverted: false
    }]);
    </script>";
    
}


function renderCaptcha(){
  require_once('./recaptcha/recaptchalib.php');
  $publickey = "6LehytwSAAAAALveoVy8os3T-vsQ1RNcuwl_iDLd"; // you got this from the signup page
  echo recaptcha_get_html($publickey);
}
?>